package com.foldingleaf.record.mapper;

import java.util.List;
import com.foldingleaf.record.domain.SysCollectionOrderRecord;

/**
 * 藏品订单记录Mapper接口
 * 
 * @author ajian
 * @date 2022-06-04
 */
public interface SysCollectionOrderRecordMapper 
{
    /**
     * 查询藏品订单记录
     * 
     * @param collectionOrderRecordId 藏品订单记录主键
     * @return 藏品订单记录
     */
    public SysCollectionOrderRecord selectSysCollectionOrderRecordByCollectionOrderRecordId(Long collectionOrderRecordId);

    /**
     * 查询藏品订单记录列表
     * 
     * @param sysCollectionOrderRecord 藏品订单记录
     * @return 藏品订单记录集合
     */
    public List<SysCollectionOrderRecord> selectSysCollectionOrderRecordList(SysCollectionOrderRecord sysCollectionOrderRecord);

    /**
     * 新增藏品订单记录
     * 
     * @param sysCollectionOrderRecord 藏品订单记录
     * @return 结果
     */
    public int insertSysCollectionOrderRecord(SysCollectionOrderRecord sysCollectionOrderRecord);

    /**
     * 修改藏品订单记录
     * 
     * @param sysCollectionOrderRecord 藏品订单记录
     * @return 结果
     */
    public int updateSysCollectionOrderRecord(SysCollectionOrderRecord sysCollectionOrderRecord);

    /**
     * 删除藏品订单记录
     * 
     * @param collectionOrderRecordId 藏品订单记录主键
     * @return 结果
     */
    public int deleteSysCollectionOrderRecordByCollectionOrderRecordId(Long collectionOrderRecordId);

    /**
     * 批量删除藏品订单记录
     * 
     * @param collectionOrderRecordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysCollectionOrderRecordByCollectionOrderRecordIds(Long[] collectionOrderRecordIds);
}
